package com.study.mike.spring.sample.cr;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * <p>
 *
 * @author: yuanwl
 * @date: 2021/2/9 10:03
 */
@Component
@Scope
public class PropertyCirculationRefB {

    private PropertyCirculationRefA pcra;

    public void setPcra(PropertyCirculationRefA pcra) {
        System.err.println(pcra);
        this.pcra = pcra;
    }

    @Autowired
    private PropertyCirculationRefC pcrc;

    public void setPcrc(PropertyCirculationRefC pcrc) {
        System.err.println(pcrc);
        this.pcrc = pcrc;
    }

}
